package com.esiag.isidis.fi.pdsteam.entity;

import com.rev.Message;
import com.rev.Source;

public class DataMessage {

	private Source source;
	private Message message;

	public DataMessage(Source source, Message message) {
		this.source = source;
		this.message = message;
	}

	public Source getSource() {
		return source;
	}

	public void setSource(Source source) {
		this.source = source;
	}

	public Message getMessage() {
		return message;
	}

	public void setOrder(Message message) {
		this.message = message;
	}

	@Override
	public String toString() {
		return "DataMessage [source=" + source + ", message=" + message + "]";
	}

}
